<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DM-CtrlH7-BF-DevProgram: C:/Users/ASUS/Desktop/dm-ctrlH7-balance-9025test/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_flash.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="50x5.png"/></td>
  <td id="projectalign">
   <div id="projectname">DM-CtrlH7-BF-DevProgram<span id="projectnumber">&#160;beta 0.1</span>
   </div>
   <div id="projectbrief">C.ONE Studio Damiao Development Board Framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(function(){initNavTree('stm32h7xx__hal__flash_8h_source.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">stm32h7xx_hal_flash.h</div></div>
</div><!--header-->
<div class="contents">
<a href="stm32h7xx__hal__flash_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment">/* Define to prevent recursive inclusion -------------------------------------*/</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#ifndef STM32H7xx_HAL_FLASH_H</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#define STM32H7xx_HAL_FLASH_H</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> <span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="comment">/* Includes ------------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#include &quot;<a class="code" href="stm32h7xx__hal__def_8h.html">stm32h7xx_hal_def.h</a>&quot;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="comment">/* Exported types ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span></div>
<div class="foldopen" id="foldopen00045" data-start="{" data-end="};">
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___exported___types.html#ga2b0268387bc11bcab76be9ce7c43eaaf">   45</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>{</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>  FLASH_PROC_NONE = 0U,</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>  FLASH_PROC_SECTERASE_BANK1,</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>  FLASH_PROC_MASSERASE_BANK1,</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>  FLASH_PROC_PROGRAM_BANK1,</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>  FLASH_PROC_SECTERASE_BANK2,</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>  FLASH_PROC_MASSERASE_BANK2,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>  FLASH_PROC_PROGRAM_BANK2,</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>  FLASH_PROC_ALLBANK_MASSERASE</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>} <a class="code hl_enumeration" href="group___f_l_a_s_h___exported___types.html#ga2b0268387bc11bcab76be9ce7c43eaaf">FLASH_ProcedureTypeDef</a>;</div>
</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span></div>
<div class="foldopen" id="foldopen00061" data-start="{" data-end="};">
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___process_type_def.html">   61</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>{</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___process_type_def.html#adcc5fdaba7d53dffdab0510a4dd7d179">   63</a></span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> <a class="code hl_enumeration" href="group___f_l_a_s_h___exported___types.html#ga2b0268387bc11bcab76be9ce7c43eaaf">FLASH_ProcedureTypeDef</a> <a class="code hl_variable" href="struct_f_l_a_s_h___process_type_def.html#adcc5fdaba7d53dffdab0510a4dd7d179">ProcedureOnGoing</a>;   </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___process_type_def.html#a2b72d9ea23673332beeb57da48ededeb">   65</a></span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint32_t               <a class="code hl_variable" href="struct_f_l_a_s_h___process_type_def.html#a2b72d9ea23673332beeb57da48ededeb">NbSectorsToErase</a>;   </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___process_type_def.html#a34e431db4f61163cea6d9238974d8ab0">   67</a></span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint32_t               <a class="code hl_variable" href="struct_f_l_a_s_h___process_type_def.html#a34e431db4f61163cea6d9238974d8ab0">VoltageForErase</a>;    </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___process_type_def.html#a0c9115ac01c2fefd3c6ad112e7133b29">   69</a></span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint32_t               <a class="code hl_variable" href="struct_f_l_a_s_h___process_type_def.html#a0c9115ac01c2fefd3c6ad112e7133b29">Sector</a>;             </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___process_type_def.html#a680a9b907eb67c762b16ef7051cd8942">   71</a></span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint32_t               <a class="code hl_variable" href="struct_f_l_a_s_h___process_type_def.html#a680a9b907eb67c762b16ef7051cd8942">Address</a>;            </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___process_type_def.html#ab5892cd1aacb0c0304b40f57023061e2">   73</a></span>  <a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#ab367482e943333a1299294eadaad284b">HAL_LockTypeDef</a>             <a class="code hl_variable" href="struct_f_l_a_s_h___process_type_def.html#ab5892cd1aacb0c0304b40f57023061e2">Lock</a>;               </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="struct_f_l_a_s_h___process_type_def.html#a8a6cc581b8b180090429d0a3c0ca0172">   75</a></span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint32_t               <a class="code hl_variable" href="struct_f_l_a_s_h___process_type_def.html#a8a6cc581b8b180090429d0a3c0ca0172">ErrorCode</a>;          </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>}<a class="code hl_struct" href="struct_f_l_a_s_h___process_type_def.html">FLASH_ProcessTypeDef</a>;</div>
</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span><span class="comment">/* Exported constants --------------------------------------------------------*/</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gae7fb9ee7198d393aba27ade3a9f50a70">   92</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_NONE         0x00000000U               </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga27e871d85f9311272098315bc3723075">   94</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_WRP          FLASH_FLAG_WRPERR         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga7132ff3b7f45c0cfe818d61bdb01dc64">   95</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_PGS          FLASH_FLAG_PGSERR         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gaf03a9537aee66a7c04c18cf1d01e3b6e">   96</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_STRB         FLASH_FLAG_STRBERR        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga0bac3e037579d6ba812692c84cdcb170">   97</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_INC          FLASH_FLAG_INCERR         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span><span class="preprocessor">#if defined (FLASH_SR_OPERR)</span></div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span><span class="preprocessor">#define HAL_FLASH_ERROR_OPE          FLASH_FLAG_OPERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SR_OPERR */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga4ebf9d64be94225134443bca35990412">  101</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_RDP          FLASH_FLAG_RDPERR         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gae6dbfdef4e4ff9436999f7c8a3183549">  102</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_RDS          FLASH_FLAG_RDSERR         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gae9615e25d2b503e0931369d4adac6844">  103</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_SNECC        FLASH_FLAG_SNECCERR       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga9faffd596f547c72d4846299b17cb7eb">  104</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_DBECC        FLASH_FLAG_DBECCERR       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga27632adfacdbe80d153d9811de986b73">  105</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_CRCRD        FLASH_FLAG_CRCRDERR       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gad70a250c7b3316888eb2749466e59a7e">  107</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_WRP_BANK1    FLASH_FLAG_WRPERR_BANK1   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga7603ac2e61de08963d21285bf2cc99e7">  108</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_PGS_BANK1    FLASH_FLAG_PGSERR_BANK1   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gadbb3e260e315fe8b1a6e16a4f180893a">  109</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_STRB_BANK1   FLASH_FLAG_STRBERR_BANK1  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga1c28c1ed9407cad4ea6e6251fa784faa">  110</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_INC_BANK1    FLASH_FLAG_INCERR_BANK1   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span><span class="preprocessor">#if defined (FLASH_SR_OPERR)</span></div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span><span class="preprocessor">#define HAL_FLASH_ERROR_OPE_BANK1    FLASH_FLAG_OPERR_BANK1    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SR_OPERR */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gab19f64a084a650079fb414bafe31af6f">  114</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_RDP_BANK1    FLASH_FLAG_RDPERR_BANK1   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga25603f619e093d58e33a471449b56aca">  115</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_RDS_BANK1    FLASH_FLAG_RDSERR_BANK1   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gafbe8dc418fd19c32d8c8d56d819b0e3f">  116</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_SNECC_BANK1  FLASH_FLAG_SNECCERR_BANK1 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga1e33aac505cc51445f3e7e8f7add3d48">  117</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_DBECC_BANK1  FLASH_FLAG_DBECCERR_BANK1 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga7799c73e0f5b6a886919a391724bbd6a">  118</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_CRCRD_BANK1  FLASH_FLAG_CRCRDERR_BANK1 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gaf4c4d383d038114efa8877ba064b3c7f">  120</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_WRP_BANK2    FLASH_FLAG_WRPERR_BANK2    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gac3429572f798e0d517fc76cc47762d41">  121</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_PGS_BANK2    FLASH_FLAG_PGSERR_BANK2    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga648b9b5eae30f2e097c3a2d083427590">  122</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_STRB_BANK2   FLASH_FLAG_STRBERR_BANK2   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga4a020cff2bce8065ac9386ded83d602a">  123</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_INC_BANK2    FLASH_FLAG_INCERR_BANK2    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span><span class="preprocessor">#if defined (FLASH_SR_OPERR)</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span><span class="preprocessor">#define HAL_FLASH_ERROR_OPE_BANK2    FLASH_FLAG_OPERR_BANK2     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SR_OPERR */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gaae9e743376cd3167915cdfdfd44020c1">  127</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_RDP_BANK2    FLASH_FLAG_RDPERR_BANK2    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gabb1fdf8aaaea8d58cdfe1e1e261373a9">  128</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_RDS_BANK2    FLASH_FLAG_RDSERR_BANK2    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga24e330e695347688bc5ad3772de6921b">  129</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_SNECC_BANK2  FLASH_FLAG_SNECCERR_BANK2  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gadf947eddf1fdff079bb58dbfd1459db3">  130</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_DBECC_BANK2  FLASH_FLAG_DBECCERR_BANK2  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#gadc48085f755bfbc8377eae2c77036742">  131</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_CRCRD_BANK2  FLASH_FLAG_CRCRDERR_BANK2  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___error___code.html#ga3daea26e7f32e8ce990db7204f46f9a0">  133</a></span><span class="preprocessor">#define HAL_FLASH_ERROR_OB_CHANGE    FLASH_OPTSR_OPTCHANGEERR   </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span></div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___type___program.html#gad1b918da529ea86d8dd916e801630c5d">  141</a></span><span class="preprocessor">#define FLASH_TYPEPROGRAM_FLASHWORD  0x01U        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span><span class="preprocessor">#if defined (FLASH_OPTCR_PG_OTP)</span></div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span><span class="preprocessor">#define FLASH_TYPEPROGRAM_OTPWORD    0x02U        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTCR_PG_OTP */</span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span></div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gad3bc368f954ad7744deda3315da2fff7">  153</a></span><span class="preprocessor">#define FLASH_FLAG_BSY                     FLASH_SR_BSY             </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga0e920fe18116d948b9e6f0cc4bf25fc8">  154</a></span><span class="preprocessor">#define FLASH_FLAG_WBNE                    FLASH_SR_WBNE            </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga25f47ba1f051529849de106acc82cd91">  155</a></span><span class="preprocessor">#define FLASH_FLAG_QW                      FLASH_SR_QW              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gaa9e7c0b92a5403f236602c17d2b9632b">  156</a></span><span class="preprocessor">#define FLASH_FLAG_CRC_BUSY                FLASH_SR_CRC_BUSY        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gaf043ba4d8f837350bfc7754a99fae5a9">  157</a></span><span class="preprocessor">#define FLASH_FLAG_EOP                     FLASH_SR_EOP             </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga6abf64f916992585899369166db3f266">  158</a></span><span class="preprocessor">#define FLASH_FLAG_WRPERR                  FLASH_SR_WRPERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga25b80c716320e667162846da8be09b68">  159</a></span><span class="preprocessor">#define FLASH_FLAG_PGSERR                  FLASH_SR_PGSERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga1ef142e40acfea01aa916c5364fc9669">  160</a></span><span class="preprocessor">#define FLASH_FLAG_STRBERR                 FLASH_SR_STRBERR         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga553c1d9c04f55a5162072d15ce007078">  161</a></span><span class="preprocessor">#define FLASH_FLAG_INCERR                  FLASH_SR_INCERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span><span class="preprocessor">#if defined (FLASH_SR_OPERR)</span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span><span class="preprocessor">#define FLASH_FLAG_OPERR                   FLASH_SR_OPERR           </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SR_OPERR */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga208b84305a18427d69f5c5f3f716a3a7">  165</a></span><span class="preprocessor">#define FLASH_FLAG_RDPERR                  FLASH_SR_RDPERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gac20acde7df33a931a6a28e29fc6a1a27">  166</a></span><span class="preprocessor">#define FLASH_FLAG_RDSERR                  FLASH_SR_RDSERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gac78aa7bf60b867fd83f7189a997752a3">  167</a></span><span class="preprocessor">#define FLASH_FLAG_SNECCERR                FLASH_SR_SNECCERR        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga0866ffe940bae5e3d9558832f1b5ccaa">  168</a></span><span class="preprocessor">#define FLASH_FLAG_DBECCERR                FLASH_SR_DBECCERR        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga565ab39984731435410a82d99a3dc196">  169</a></span><span class="preprocessor">#define FLASH_FLAG_CRCEND                  FLASH_SR_CRCEND          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga89d18cd8f8f1c5d8a46619d12c8c5d76">  170</a></span><span class="preprocessor">#define FLASH_FLAG_CRCRDERR                FLASH_SR_CRCRDERR        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga030207b57606a63c43e1dbab2b6f04bd">  172</a></span><span class="preprocessor">#define FLASH_FLAG_BSY_BANK1               FLASH_SR_BSY             </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gade53109c1cbabea026ec7b72656a3966">  173</a></span><span class="preprocessor">#define FLASH_FLAG_WBNE_BANK1              FLASH_SR_WBNE            </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga0ee440576558767d822aa9e3112927c1">  174</a></span><span class="preprocessor">#define FLASH_FLAG_QW_BANK1                FLASH_SR_QW              </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gaf2427edc3cd05cf5259dda182c582947">  175</a></span><span class="preprocessor">#define FLASH_FLAG_CRC_BUSY_BANK1          FLASH_SR_CRC_BUSY        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga57e725fb9cb93908bd3eb21a405bdd69">  176</a></span><span class="preprocessor">#define FLASH_FLAG_EOP_BANK1               FLASH_SR_EOP             </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gab510e8aa73f6fa7e808c8a72fbdd6ca2">  177</a></span><span class="preprocessor">#define FLASH_FLAG_WRPERR_BANK1            FLASH_SR_WRPERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga85dde020ac3a51a238f404cb40480397">  178</a></span><span class="preprocessor">#define FLASH_FLAG_PGSERR_BANK1            FLASH_SR_PGSERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga227efcfdd6d50f9a41ac6de7e531708d">  179</a></span><span class="preprocessor">#define FLASH_FLAG_STRBERR_BANK1           FLASH_SR_STRBERR         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gaf90bc8cb3527b9abf6ad9287a75b566c">  180</a></span><span class="preprocessor">#define FLASH_FLAG_INCERR_BANK1            FLASH_SR_INCERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span><span class="preprocessor">#if defined (FLASH_SR_OPERR)</span></div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span><span class="preprocessor">#define FLASH_FLAG_OPERR_BANK1             FLASH_SR_OPERR           </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SR_OPERR */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gaba699f792634e64a7118ccddc571c1c2">  184</a></span><span class="preprocessor">#define FLASH_FLAG_RDPERR_BANK1            FLASH_SR_RDPERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga6563970bd105c1fbdca0c78d8fc90427">  185</a></span><span class="preprocessor">#define FLASH_FLAG_RDSERR_BANK1            FLASH_SR_RDSERR          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga8a51cadd47188b72e509d1498ac337d9">  186</a></span><span class="preprocessor">#define FLASH_FLAG_SNECCERR_BANK1          FLASH_SR_SNECCERR        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga0c5335401b6bb576b6bf50aebbe6f76f">  187</a></span><span class="preprocessor">#define FLASH_FLAG_DBECCERR_BANK1          FLASH_SR_DBECCERR        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga081695b1abf16e561c349323d8989985">  188</a></span><span class="preprocessor">#define FLASH_FLAG_CRCEND_BANK1            FLASH_SR_CRCEND          </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga2587678ea5d0a5cc7b09f8fc010cfea9">  189</a></span><span class="preprocessor">#define FLASH_FLAG_CRCRDERR_BANK1          FLASH_SR_CRCRDERR        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span><span class="preprocessor">#if defined (FLASH_SR_OPERR)</span></div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span><span class="preprocessor">#define FLASH_FLAG_ALL_ERRORS_BANK1       (FLASH_FLAG_WRPERR_BANK1   | FLASH_FLAG_PGSERR_BANK1   | \</span></div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span><span class="preprocessor">                                           FLASH_FLAG_STRBERR_BANK1  | FLASH_FLAG_INCERR_BANK1   | \</span></div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span><span class="preprocessor">                                           FLASH_FLAG_OPERR_BANK1    | FLASH_FLAG_RDPERR_BANK1   | \</span></div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span><span class="preprocessor">                                           FLASH_FLAG_RDSERR_BANK1   | FLASH_FLAG_SNECCERR_BANK1 | \</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span><span class="preprocessor">                                           FLASH_FLAG_DBECCERR_BANK1 | FLASH_FLAG_CRCRDERR_BANK1) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span><span class="preprocessor">#else</span></div>
<div class="foldopen" id="foldopen00198" data-start="" data-end="">
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gaa8378ddf6be6b812b77bec2f805b2579">  198</a></span><span class="preprocessor">#define FLASH_FLAG_ALL_ERRORS_BANK1       (FLASH_FLAG_WRPERR_BANK1   | FLASH_FLAG_PGSERR_BANK1   | \</span></div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span><span class="preprocessor">                                           FLASH_FLAG_STRBERR_BANK1  | FLASH_FLAG_INCERR_BANK1   | \</span></div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span><span class="preprocessor">                                           FLASH_FLAG_RDPERR_BANK1   | FLASH_FLAG_RDSERR_BANK1   | \</span></div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span><span class="preprocessor">                                           FLASH_FLAG_SNECCERR_BANK1 | FLASH_FLAG_DBECCERR_BANK1 | \</span></div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span><span class="preprocessor">                                           FLASH_FLAG_CRCRDERR_BANK1) </span><span class="preprocessor"></span></div>
</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SR_OPERR */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span> </div>
<div class="foldopen" id="foldopen00205" data-start="" data-end="">
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga59ac242648dbe83e88752d467a385db7">  205</a></span><span class="preprocessor">#define FLASH_FLAG_ALL_BANK1              (FLASH_FLAG_BSY_BANK1      | FLASH_FLAG_WBNE_BANK1     | \</span></div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span><span class="preprocessor">                                           FLASH_FLAG_QW_BANK1       | FLASH_FLAG_CRC_BUSY_BANK1 | \</span></div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span><span class="preprocessor">                                           FLASH_FLAG_EOP_BANK1      | FLASH_FLAG_CRCEND_BANK1   | \</span></div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span><span class="preprocessor">                                           FLASH_FLAG_ALL_ERRORS_BANK1) </span><span class="preprocessor"></span></div>
</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span> </div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga42fda4a58f603961b7c1fc0a4feaf2b8">  210</a></span><span class="preprocessor">#define FLASH_FLAG_BSY_BANK2               (FLASH_SR_BSY      | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga912a02ff60590153a8e9e007938ee5f9">  211</a></span><span class="preprocessor">#define FLASH_FLAG_WBNE_BANK2              (FLASH_SR_WBNE     | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga5701acddf67d60be5ef4bf1d4b973ee6">  212</a></span><span class="preprocessor">#define FLASH_FLAG_QW_BANK2                (FLASH_SR_QW       | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga214c1c06378ddfe0ce2b7edc49a5d162">  213</a></span><span class="preprocessor">#define FLASH_FLAG_CRC_BUSY_BANK2          (FLASH_SR_CRC_BUSY | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga7790f9cda82e6fe9a390f61f69756d61">  214</a></span><span class="preprocessor">#define FLASH_FLAG_EOP_BANK2               (FLASH_SR_EOP      | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga878b104bd42b1b6eeb8dedcd6a01031c">  215</a></span><span class="preprocessor">#define FLASH_FLAG_WRPERR_BANK2            (FLASH_SR_WRPERR   | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#gab6b2df64dd23aecf0f8f5099ad2484ac">  216</a></span><span class="preprocessor">#define FLASH_FLAG_PGSERR_BANK2            (FLASH_SR_PGSERR   | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga99d2fb34732a75b6e02456f3670df2a9">  217</a></span><span class="preprocessor">#define FLASH_FLAG_STRBERR_BANK2           (FLASH_SR_STRBERR  | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga2196922a5d364620ab2e9de2379adb88">  218</a></span><span class="preprocessor">#define FLASH_FLAG_INCERR_BANK2            (FLASH_SR_INCERR   | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span><span class="preprocessor">#if defined (FLASH_SR_OPERR)</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span><span class="preprocessor">#define FLASH_FLAG_OPERR_BANK2             (FLASH_SR_OPERR    | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno">  221</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SR_OPERR */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga75a7af4b405b8018ebe09a99e2e0557b">  222</a></span><span class="preprocessor">#define FLASH_FLAG_RDPERR_BANK2            (FLASH_SR_RDPERR   | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga09a97157e58f3afae7d360422a41466f">  223</a></span><span class="preprocessor">#define FLASH_FLAG_RDSERR_BANK2            (FLASH_SR_RDSERR   | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga660a348a4057dcffcb5a7e6a83387e55">  224</a></span><span class="preprocessor">#define FLASH_FLAG_SNECCERR_BANK2          (FLASH_SR_SNECCERR | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga15ab58de16910d09eb7e1ff0cf90362b">  225</a></span><span class="preprocessor">#define FLASH_FLAG_DBECCERR_BANK2          (FLASH_SR_DBECCERR | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga455ba548dc86b6fc416c379a5070ec43">  226</a></span><span class="preprocessor">#define FLASH_FLAG_CRCEND_BANK2            (FLASH_SR_CRCEND   | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga1469c79515d8e6466551e4db643caa31">  227</a></span><span class="preprocessor">#define FLASH_FLAG_CRCRDERR_BANK2          (FLASH_SR_CRCRDERR | 0x80000000U)        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span> </div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span><span class="preprocessor">#if defined (FLASH_SR_OPERR)</span></div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno">  230</span><span class="preprocessor">#define FLASH_FLAG_ALL_ERRORS_BANK2       (FLASH_FLAG_WRPERR_BANK2   | FLASH_FLAG_PGSERR_BANK2   | \</span></div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno">  231</span><span class="preprocessor">                                           FLASH_FLAG_STRBERR_BANK2  | FLASH_FLAG_INCERR_BANK2   | \</span></div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span><span class="preprocessor">                                           FLASH_FLAG_OPERR_BANK2    | FLASH_FLAG_RDPERR_BANK2   | \</span></div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span><span class="preprocessor">                                           FLASH_FLAG_RDSERR_BANK2   | FLASH_FLAG_SNECCERR_BANK2 | \</span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span><span class="preprocessor">                                           FLASH_FLAG_DBECCERR_BANK2 | FLASH_FLAG_CRCRDERR_BANK2) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span><span class="preprocessor">#else</span></div>
<div class="foldopen" id="foldopen00236" data-start="" data-end="">
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga54e67730d97e2053d95d04d739560b2d">  236</a></span><span class="preprocessor">#define FLASH_FLAG_ALL_ERRORS_BANK2       (FLASH_FLAG_WRPERR_BANK2   | FLASH_FLAG_PGSERR_BANK2   | \</span></div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span><span class="preprocessor">                                           FLASH_FLAG_STRBERR_BANK2  | FLASH_FLAG_INCERR_BANK2   | \</span></div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span><span class="preprocessor">                                           FLASH_FLAG_RDPERR_BANK2   | FLASH_FLAG_RDSERR_BANK2   | \</span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span><span class="preprocessor">                                           FLASH_FLAG_SNECCERR_BANK2 | FLASH_FLAG_DBECCERR_BANK2 | \</span></div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span><span class="preprocessor">                                           FLASH_FLAG_CRCRDERR_BANK2) </span><span class="preprocessor"></span></div>
</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SR_OPERR */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno">  242</span> </div>
<div class="foldopen" id="foldopen00243" data-start="" data-end="">
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___flag__definition.html#ga86f3dba94a395a0a5eaeade371986725">  243</a></span><span class="preprocessor">#define FLASH_FLAG_ALL_BANK2              (FLASH_FLAG_BSY_BANK2      | FLASH_FLAG_WBNE_BANK2     | \</span></div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span><span class="preprocessor">                                           FLASH_FLAG_QW_BANK2       | FLASH_FLAG_CRC_BUSY_BANK2 | \</span></div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span><span class="preprocessor">                                           FLASH_FLAG_EOP_BANK2      | FLASH_FLAG_CRCEND_BANK2   | \</span></div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span><span class="preprocessor">                                           FLASH_FLAG_ALL_ERRORS_BANK2) </span><span class="preprocessor"></span></div>
</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno">  250</span></div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga1ec1ef5c1c76161b7dfe81e180e4b3bc">  255</a></span><span class="preprocessor">#define FLASH_IT_EOP_BANK1                  FLASH_CR_EOPIE       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga0982dd9273150c589c64384f98680f8c">  256</a></span><span class="preprocessor">#define FLASH_IT_WRPERR_BANK1               FLASH_CR_WRPERRIE    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga75f2443e9186b6010c22df22a7d0a795">  257</a></span><span class="preprocessor">#define FLASH_IT_PGSERR_BANK1               FLASH_CR_PGSERRIE    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga24700978c9b5fcf608a28a55bb0bfb82">  258</a></span><span class="preprocessor">#define FLASH_IT_STRBERR_BANK1              FLASH_CR_STRBERRIE   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga94ed32b4323dad1fbdabf08514da5473">  259</a></span><span class="preprocessor">#define FLASH_IT_INCERR_BANK1               FLASH_CR_INCERRIE    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span><span class="preprocessor">#if defined (FLASH_CR_OPERRIE)</span></div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span><span class="preprocessor">#define FLASH_IT_OPERR_BANK1                FLASH_CR_OPERRIE     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_CR_OPERRIE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga63d27c2a86d8baeb592764e034214796">  263</a></span><span class="preprocessor">#define FLASH_IT_RDPERR_BANK1               FLASH_CR_RDPERRIE    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga13eaaa8999f0beeb6ba8bf85904b28fb">  264</a></span><span class="preprocessor">#define FLASH_IT_RDSERR_BANK1               FLASH_CR_RDSERRIE    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga28519e989fe0b990de8ed886beac03d1">  265</a></span><span class="preprocessor">#define FLASH_IT_SNECCERR_BANK1             FLASH_CR_SNECCERRIE  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#gaabb332bc14eb56d71f8407f68f804510">  266</a></span><span class="preprocessor">#define FLASH_IT_DBECCERR_BANK1             FLASH_CR_DBECCERRIE  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga196e6f4de2ebe393b60c266915a3bb7e">  267</a></span><span class="preprocessor">#define FLASH_IT_CRCEND_BANK1               FLASH_CR_CRCENDIE    </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga82dc3ee19141b5c071d2fa8db946ebe3">  268</a></span><span class="preprocessor">#define FLASH_IT_CRCRDERR_BANK1             FLASH_CR_CRCRDERRIE  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span> </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span><span class="preprocessor">#if defined (FLASH_CR_OPERRIE)</span></div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span><span class="preprocessor">#define FLASH_IT_ALL_BANK1                 (FLASH_IT_EOP_BANK1       | FLASH_IT_WRPERR_BANK1    | \</span></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span><span class="preprocessor">                                            FLASH_IT_PGSERR_BANK1    | FLASH_IT_STRBERR_BANK1   | \</span></div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno">  273</span><span class="preprocessor">                                            FLASH_IT_INCERR_BANK1    | FLASH_IT_OPERR_BANK1     | \</span></div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span><span class="preprocessor">                                            FLASH_IT_RDPERR_BANK1    | FLASH_IT_RDSERR_BANK1    | \</span></div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno">  275</span><span class="preprocessor">                                            FLASH_IT_SNECCERR_BANK1  | FLASH_IT_DBECCERR_BANK1  | \</span></div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span><span class="preprocessor">                                            FLASH_IT_CRCEND_BANK1    | FLASH_IT_CRCRDERR_BANK1) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span><span class="preprocessor">#else</span></div>
<div class="foldopen" id="foldopen00278" data-start="" data-end="">
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga08cb91e82083fec8239ba581f4437feb">  278</a></span><span class="preprocessor">#define FLASH_IT_ALL_BANK1                 (FLASH_IT_EOP_BANK1       | FLASH_IT_WRPERR_BANK1    | \</span></div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span><span class="preprocessor">                                            FLASH_IT_PGSERR_BANK1    | FLASH_IT_STRBERR_BANK1   | \</span></div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span><span class="preprocessor">                                            FLASH_IT_INCERR_BANK1    | FLASH_IT_RDPERR_BANK1    | \</span></div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span><span class="preprocessor">                                            FLASH_IT_RDSERR_BANK1    | FLASH_IT_SNECCERR_BANK1  | \</span></div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span><span class="preprocessor">                                            FLASH_IT_DBECCERR_BANK1  | FLASH_IT_CRCEND_BANK1    | \</span></div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span><span class="preprocessor">                                            FLASH_IT_CRCRDERR_BANK1) </span><span class="preprocessor"></span></div>
</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno">  284</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_CR_OPERRIE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno">  285</span> </div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga8345669c6dc0421104392dd926f1d47f">  286</a></span><span class="preprocessor">#define FLASH_IT_EOP_BANK2                 (FLASH_CR_EOPIE      | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga0e1cdf3a8de710205f1089662e8ec60e">  287</a></span><span class="preprocessor">#define FLASH_IT_WRPERR_BANK2              (FLASH_CR_WRPERRIE   | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#gaee38b44a624d8b1f3b376a29add7eabb">  288</a></span><span class="preprocessor">#define FLASH_IT_PGSERR_BANK2              (FLASH_CR_PGSERRIE   | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#gac2bb0fa7590ba98dc0cd8c0d082ce8ab">  289</a></span><span class="preprocessor">#define FLASH_IT_STRBERR_BANK2             (FLASH_CR_STRBERRIE  | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga5ffef1590d3e34618ead8ad0c73609ad">  290</a></span><span class="preprocessor">#define FLASH_IT_INCERR_BANK2              (FLASH_CR_INCERRIE   | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno">  291</span><span class="preprocessor">#if defined (FLASH_CR_OPERRIE)</span></div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno">  292</span><span class="preprocessor">#define FLASH_IT_OPERR_BANK2               (FLASH_CR_OPERRIE    | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno">  293</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_CR_OPERRIE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#gaa9938793bc0431bdbba273f38123372e">  294</a></span><span class="preprocessor">#define FLASH_IT_RDPERR_BANK2              (FLASH_CR_RDPERRIE   | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga0613c2c2451c9b07a91b661ee2c03648">  295</a></span><span class="preprocessor">#define FLASH_IT_RDSERR_BANK2              (FLASH_CR_RDSERRIE   | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga41a3c918d208bbcdaae67abf0ebe9900">  296</a></span><span class="preprocessor">#define FLASH_IT_SNECCERR_BANK2            (FLASH_CR_SNECCERRIE | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga8d4c4f393d3dcaf9e4bc547fe8163f8e">  297</a></span><span class="preprocessor">#define FLASH_IT_DBECCERR_BANK2            (FLASH_CR_DBECCERRIE | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga0316e91aff7629580bed1a5cc9c11e75">  298</a></span><span class="preprocessor">#define FLASH_IT_CRCEND_BANK2              (FLASH_CR_CRCENDIE   | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga81f4bdb6e41b6f99d9de03ca0b37b898">  299</a></span><span class="preprocessor">#define FLASH_IT_CRCRDERR_BANK2            (FLASH_CR_CRCRDERRIE | 0x80000000U)  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno">  300</span> </div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno">  301</span><span class="preprocessor">#if defined (FLASH_CR_OPERRIE)</span></div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span><span class="preprocessor">#define FLASH_IT_ALL_BANK2                 (FLASH_IT_EOP_BANK2       | FLASH_IT_WRPERR_BANK2    | \</span></div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span><span class="preprocessor">                                            FLASH_IT_PGSERR_BANK2    | FLASH_IT_STRBERR_BANK2   | \</span></div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno">  304</span><span class="preprocessor">                                            FLASH_IT_INCERR_BANK2    | FLASH_IT_OPERR_BANK2     | \</span></div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno">  305</span><span class="preprocessor">                                            FLASH_IT_RDPERR_BANK2    | FLASH_IT_RDSERR_BANK2    | \</span></div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno">  306</span><span class="preprocessor">                                            FLASH_IT_SNECCERR_BANK2  | FLASH_IT_DBECCERR_BANK2  | \</span></div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno">  307</span><span class="preprocessor">                                            FLASH_IT_CRCEND_BANK2    | FLASH_IT_CRCRDERR_BANK2) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno">  308</span><span class="preprocessor">#else</span></div>
<div class="foldopen" id="foldopen00309" data-start="" data-end="">
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___interrupt__definition.html#ga3140138329c41338bcd139d5fb6d019f">  309</a></span><span class="preprocessor">#define FLASH_IT_ALL_BANK2                 (FLASH_IT_EOP_BANK2       | FLASH_IT_WRPERR_BANK2    | \</span></div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span><span class="preprocessor">                                            FLASH_IT_PGSERR_BANK2    | FLASH_IT_STRBERR_BANK2   | \</span></div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno">  311</span><span class="preprocessor">                                            FLASH_IT_INCERR_BANK2    | FLASH_IT_RDPERR_BANK2    | \</span></div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno">  312</span><span class="preprocessor">                                            FLASH_IT_RDSERR_BANK2    | FLASH_IT_SNECCERR_BANK2  | \</span></div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno">  313</span><span class="preprocessor">                                            FLASH_IT_DBECCERR_BANK2  | FLASH_IT_CRCEND_BANK2    | \</span></div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno">  314</span><span class="preprocessor">                                            FLASH_IT_CRCRDERR_BANK2) </span><span class="preprocessor"></span></div>
</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno">  315</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_CR_OPERRIE */</span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span> </div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno">  320</span><span class="preprocessor">#if defined (FLASH_CR_PSIZE)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno">  324</span><span class="preprocessor">#define FLASH_PSIZE_BYTE           0x00000000U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno">  325</span><span class="preprocessor">#define FLASH_PSIZE_HALF_WORD      FLASH_CR_PSIZE_0  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno">  326</span><span class="preprocessor">#define FLASH_PSIZE_WORD           FLASH_CR_PSIZE_1  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno">  327</span><span class="preprocessor">#define FLASH_PSIZE_DOUBLE_WORD    FLASH_CR_PSIZE    </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno">  331</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_CR_PSIZE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno">  332</span> </div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno">  333</span></div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno">  337</span><span class="preprocessor">#define FLASH_KEY1                 0x45670123U</span></div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno">  338</span><span class="preprocessor">#define FLASH_KEY2                 0xCDEF89ABU</span></div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno">  339</span><span class="preprocessor">#define FLASH_OPT_KEY1             0x08192A3BU</span></div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno">  340</span><span class="preprocessor">#define FLASH_OPT_KEY2             0x4C5D6E7FU</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno">  344</span></div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___sectors.html#ga15a8729b9c5eb83d46d5f437cd46d874">  348</a></span><span class="preprocessor">#define FLASH_SECTOR_0             0U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___sectors.html#ga2a85d94366030ea8328796169c1bc300">  349</a></span><span class="preprocessor">#define FLASH_SECTOR_1             1U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___sectors.html#ga58999952d63fd45dd86b0817ad2a5bae">  350</a></span><span class="preprocessor">#define FLASH_SECTOR_2             2U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___sectors.html#gab0a0ce95752a56b430c809a88812fed2">  351</a></span><span class="preprocessor">#define FLASH_SECTOR_3             3U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___sectors.html#gac1338c8f4ab3ae74d212c59c7e9e4cc6">  352</a></span><span class="preprocessor">#define FLASH_SECTOR_4             4U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___sectors.html#gad8736215a8d3ce115f4281a6d026d0f8">  353</a></span><span class="preprocessor">#define FLASH_SECTOR_5             5U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___sectors.html#gaa0d1fc04e5918186ac9c228ab4172606">  354</a></span><span class="preprocessor">#define FLASH_SECTOR_6             6U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___sectors.html#ga99693b9e0816fdb8706218bc845724ad">  355</a></span><span class="preprocessor">#define FLASH_SECTOR_7             7U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno">  356</span><span class="preprocessor">#if (FLASH_SECTOR_TOTAL == 128)</span></div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno">  357</span><span class="preprocessor">#define FLASH_SECTOR_8             8U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno">  358</span><span class="preprocessor">#define FLASH_SECTOR_9             9U       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno">  359</span><span class="preprocessor">#define FLASH_SECTOR_10            10U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno">  360</span><span class="preprocessor">#define FLASH_SECTOR_11            11U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno">  361</span><span class="preprocessor">#define FLASH_SECTOR_12            12U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno">  362</span><span class="preprocessor">#define FLASH_SECTOR_13            13U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno">  363</span><span class="preprocessor">#define FLASH_SECTOR_14            14U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno">  364</span><span class="preprocessor">#define FLASH_SECTOR_15            15U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno">  365</span><span class="preprocessor">#define FLASH_SECTOR_16            16U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno">  366</span><span class="preprocessor">#define FLASH_SECTOR_17            17U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span><span class="preprocessor">#define FLASH_SECTOR_18            18U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno">  368</span><span class="preprocessor">#define FLASH_SECTOR_19            19U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span><span class="preprocessor">#define FLASH_SECTOR_20            20U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span><span class="preprocessor">#define FLASH_SECTOR_21            21U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span><span class="preprocessor">#define FLASH_SECTOR_22            22U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span><span class="preprocessor">#define FLASH_SECTOR_23            23U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno">  373</span><span class="preprocessor">#define FLASH_SECTOR_24            24U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno">  374</span><span class="preprocessor">#define FLASH_SECTOR_25            25U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno">  375</span><span class="preprocessor">#define FLASH_SECTOR_26            26U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span><span class="preprocessor">#define FLASH_SECTOR_27            27U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span><span class="preprocessor">#define FLASH_SECTOR_28            28U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno">  378</span><span class="preprocessor">#define FLASH_SECTOR_29            29U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno">  379</span><span class="preprocessor">#define FLASH_SECTOR_30            30U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno">  380</span><span class="preprocessor">#define FLASH_SECTOR_31            31U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno">  381</span><span class="preprocessor">#define FLASH_SECTOR_32            32U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno">  382</span><span class="preprocessor">#define FLASH_SECTOR_33            33U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno">  383</span><span class="preprocessor">#define FLASH_SECTOR_34            34U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno">  384</span><span class="preprocessor">#define FLASH_SECTOR_35            35U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno">  385</span><span class="preprocessor">#define FLASH_SECTOR_36            36U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno">  386</span><span class="preprocessor">#define FLASH_SECTOR_37            37U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno">  387</span><span class="preprocessor">#define FLASH_SECTOR_38            38U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno">  388</span><span class="preprocessor">#define FLASH_SECTOR_39            39U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno">  389</span><span class="preprocessor">#define FLASH_SECTOR_40            40U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno">  390</span><span class="preprocessor">#define FLASH_SECTOR_41            41U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno">  391</span><span class="preprocessor">#define FLASH_SECTOR_42            42U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno">  392</span><span class="preprocessor">#define FLASH_SECTOR_43            43U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno">  393</span><span class="preprocessor">#define FLASH_SECTOR_44            44U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span><span class="preprocessor">#define FLASH_SECTOR_45            45U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno">  395</span><span class="preprocessor">#define FLASH_SECTOR_46            46U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno">  396</span><span class="preprocessor">#define FLASH_SECTOR_47            47U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno">  397</span><span class="preprocessor">#define FLASH_SECTOR_48            48U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno">  398</span><span class="preprocessor">#define FLASH_SECTOR_49            49U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno">  399</span><span class="preprocessor">#define FLASH_SECTOR_50            50U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno">  400</span><span class="preprocessor">#define FLASH_SECTOR_51            51U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno">  401</span><span class="preprocessor">#define FLASH_SECTOR_52            52U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno">  402</span><span class="preprocessor">#define FLASH_SECTOR_53            53U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno">  403</span><span class="preprocessor">#define FLASH_SECTOR_54            54U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno">  404</span><span class="preprocessor">#define FLASH_SECTOR_55            55U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno">  405</span><span class="preprocessor">#define FLASH_SECTOR_56            56U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno">  406</span><span class="preprocessor">#define FLASH_SECTOR_57            57U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno">  407</span><span class="preprocessor">#define FLASH_SECTOR_58            58U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno">  408</span><span class="preprocessor">#define FLASH_SECTOR_59            59U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno">  409</span><span class="preprocessor">#define FLASH_SECTOR_60            60U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span><span class="preprocessor">#define FLASH_SECTOR_61            61U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span><span class="preprocessor">#define FLASH_SECTOR_62            62U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno">  412</span><span class="preprocessor">#define FLASH_SECTOR_63            63U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno">  413</span><span class="preprocessor">#define FLASH_SECTOR_64            64U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno">  414</span><span class="preprocessor">#define FLASH_SECTOR_65            65U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno">  415</span><span class="preprocessor">#define FLASH_SECTOR_66            66U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno">  416</span><span class="preprocessor">#define FLASH_SECTOR_67            67U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno">  417</span><span class="preprocessor">#define FLASH_SECTOR_68            68U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno">  418</span><span class="preprocessor">#define FLASH_SECTOR_69            69U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span><span class="preprocessor">#define FLASH_SECTOR_70            70U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno">  420</span><span class="preprocessor">#define FLASH_SECTOR_71            71U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno">  421</span><span class="preprocessor">#define FLASH_SECTOR_72            72U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno">  422</span><span class="preprocessor">#define FLASH_SECTOR_73            73U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno">  423</span><span class="preprocessor">#define FLASH_SECTOR_74            74U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno">  424</span><span class="preprocessor">#define FLASH_SECTOR_75            75U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno">  425</span><span class="preprocessor">#define FLASH_SECTOR_76            76U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno">  426</span><span class="preprocessor">#define FLASH_SECTOR_77            77U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno">  427</span><span class="preprocessor">#define FLASH_SECTOR_78            78U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno">  428</span><span class="preprocessor">#define FLASH_SECTOR_79            79U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno">  429</span><span class="preprocessor">#define FLASH_SECTOR_80            80U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno">  430</span><span class="preprocessor">#define FLASH_SECTOR_81            81U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno">  431</span><span class="preprocessor">#define FLASH_SECTOR_82            82U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno">  432</span><span class="preprocessor">#define FLASH_SECTOR_83            83U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno">  433</span><span class="preprocessor">#define FLASH_SECTOR_84            84U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno">  434</span><span class="preprocessor">#define FLASH_SECTOR_85            85U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno">  435</span><span class="preprocessor">#define FLASH_SECTOR_86            86U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno">  436</span><span class="preprocessor">#define FLASH_SECTOR_87            87U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno">  437</span><span class="preprocessor">#define FLASH_SECTOR_88            88U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno">  438</span><span class="preprocessor">#define FLASH_SECTOR_89            89U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno">  439</span><span class="preprocessor">#define FLASH_SECTOR_90            90U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno">  440</span><span class="preprocessor">#define FLASH_SECTOR_91            91U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno">  441</span><span class="preprocessor">#define FLASH_SECTOR_92            92U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno">  442</span><span class="preprocessor">#define FLASH_SECTOR_93            93U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno">  443</span><span class="preprocessor">#define FLASH_SECTOR_94            94U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno">  444</span><span class="preprocessor">#define FLASH_SECTOR_95            95U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno">  445</span><span class="preprocessor">#define FLASH_SECTOR_96            96U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno">  446</span><span class="preprocessor">#define FLASH_SECTOR_97            97U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno">  447</span><span class="preprocessor">#define FLASH_SECTOR_98            98U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno">  448</span><span class="preprocessor">#define FLASH_SECTOR_99            99U      </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno">  449</span><span class="preprocessor">#define FLASH_SECTOR_100           100U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno">  450</span><span class="preprocessor">#define FLASH_SECTOR_101           101U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno">  451</span><span class="preprocessor">#define FLASH_SECTOR_102           102U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno">  452</span><span class="preprocessor">#define FLASH_SECTOR_103           103U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno">  453</span><span class="preprocessor">#define FLASH_SECTOR_104           104U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span><span class="preprocessor">#define FLASH_SECTOR_105           105U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span><span class="preprocessor">#define FLASH_SECTOR_106           106U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno">  456</span><span class="preprocessor">#define FLASH_SECTOR_107           107U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno">  457</span><span class="preprocessor">#define FLASH_SECTOR_108           108U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno">  458</span><span class="preprocessor">#define FLASH_SECTOR_109           109U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno">  459</span><span class="preprocessor">#define FLASH_SECTOR_110           110U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno">  460</span><span class="preprocessor">#define FLASH_SECTOR_111           111U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno">  461</span><span class="preprocessor">#define FLASH_SECTOR_112           112U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno">  462</span><span class="preprocessor">#define FLASH_SECTOR_113           113U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno">  463</span><span class="preprocessor">#define FLASH_SECTOR_114           114U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno">  464</span><span class="preprocessor">#define FLASH_SECTOR_115           115U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno">  465</span><span class="preprocessor">#define FLASH_SECTOR_116           116U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno">  466</span><span class="preprocessor">#define FLASH_SECTOR_117           117U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno">  467</span><span class="preprocessor">#define FLASH_SECTOR_118           118U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno">  468</span><span class="preprocessor">#define FLASH_SECTOR_119           119U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno">  469</span><span class="preprocessor">#define FLASH_SECTOR_120           120U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno">  470</span><span class="preprocessor">#define FLASH_SECTOR_121           121U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span><span class="preprocessor">#define FLASH_SECTOR_122           122U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span><span class="preprocessor">#define FLASH_SECTOR_123           123U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno">  473</span><span class="preprocessor">#define FLASH_SECTOR_124           124U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno">  474</span><span class="preprocessor">#define FLASH_SECTOR_125           125U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno">  475</span><span class="preprocessor">#define FLASH_SECTOR_126           126U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno">  476</span><span class="preprocessor">#define FLASH_SECTOR_127           127U     </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno">  477</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_SECTOR_TOTAL == 128 */</span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno">  481</span></div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno">  485</span> </div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno">  486</span><span class="comment">/* Exported macro ------------------------------------------------------------*/</span></div>
<div class="foldopen" id="foldopen00496" data-start="" data-end="">
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___exported___macros.html#gac1c9f459b798cc3700b90a6245df5a1a">  496</a></span><span class="preprocessor">#define __HAL_FLASH_SET_LATENCY(__LATENCY__) \</span></div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno">  497</span><span class="preprocessor">                  MODIFY_REG(FLASH-&gt;ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))</span></div>
</div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno">  498</span></div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___exported___macros.html#gaa537e44d74ce35ff5bfef80edf03f895">  504</a></span><span class="preprocessor">#define __HAL_FLASH_GET_LATENCY()     (READ_BIT((FLASH-&gt;ACR), FLASH_ACR_LATENCY))</span></div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno">  505</span></div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno">  540</span> </div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___exported___macros.html#ga009e02a77f26c5b8ca6b81aff1b1794a">  541</a></span><span class="preprocessor">#define __HAL_FLASH_ENABLE_IT_BANK1(__INTERRUPT__)      (FLASH-&gt;CR1 |= (__INTERRUPT__))</span></div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno">  542</span> </div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno">  543</span><span class="preprocessor">#define __HAL_FLASH_ENABLE_IT_BANK2(__INTERRUPT__)      (FLASH-&gt;CR2 |= ((__INTERRUPT__) &amp; 0x7FFFFFFFU))</span></div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno">  544</span> </div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno">  545</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno">  546</span><span class="preprocessor">#define __HAL_FLASH_ENABLE_IT(__INTERRUPT__)    (IS_FLASH_IT_BANK1(__INTERRUPT__) ? \</span></div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno">  547</span><span class="preprocessor">                                                 __HAL_FLASH_ENABLE_IT_BANK1(__INTERRUPT__) : \</span></div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno">  548</span><span class="preprocessor">                                                 __HAL_FLASH_ENABLE_IT_BANK2(__INTERRUPT__))</span></div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno">  549</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno">  550</span><span class="preprocessor">#define __HAL_FLASH_ENABLE_IT(__INTERRUPT__)    __HAL_FLASH_ENABLE_IT_BANK1(__INTERRUPT__)</span></div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno">  551</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno">  552</span> </div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno">  553</span></div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno">  588</span> </div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___exported___macros.html#gac0ea4e89204dec265c2810520948df81">  589</a></span><span class="preprocessor">#define __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__)  (FLASH-&gt;CR1 &amp;= ~(uint32_t)(__INTERRUPT__))</span></div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno">  590</span> </div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno">  591</span><span class="preprocessor">#define __HAL_FLASH_DISABLE_IT_BANK2(__INTERRUPT__)  (FLASH-&gt;CR2 &amp;= ~(uint32_t)((__INTERRUPT__) &amp; 0x7FFFFFFFU))</span></div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno">  592</span> </div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno">  593</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno">  594</span><span class="preprocessor">#define __HAL_FLASH_DISABLE_IT(__INTERRUPT__)  (IS_FLASH_IT_BANK1(__INTERRUPT__) ? \</span></div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno">  595</span><span class="preprocessor">                                                __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__) : \</span></div>
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno">  596</span><span class="preprocessor">                                                __HAL_FLASH_DISABLE_IT_BANK2(__INTERRUPT__))</span></div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno">  597</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno">  598</span><span class="preprocessor">#define __HAL_FLASH_DISABLE_IT(__INTERRUPT__)  __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__)</span></div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno">  599</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno">  600</span> </div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno">  601</span></div>
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___exported___macros.html#ga05f963e88e8746c33d403ef5a8ec3d17">  642</a></span><span class="preprocessor">#define __HAL_FLASH_GET_FLAG_BANK1(__FLAG__)     (READ_BIT(FLASH-&gt;SR1, (__FLAG__)) == (__FLAG__))</span></div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno">  643</span> </div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno">  644</span><span class="preprocessor">#define __HAL_FLASH_GET_FLAG_BANK2(__FLAG__)     (READ_BIT(FLASH-&gt;SR2, ((__FLAG__) &amp; 0x7FFFFFFFU)) == (((__FLAG__) &amp; 0x7FFFFFFFU)))</span></div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno">  645</span> </div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno">  646</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno">  647</span><span class="preprocessor">#define __HAL_FLASH_GET_FLAG(__FLAG__)           (IS_FLASH_FLAG_BANK1(__FLAG__) ?  __HAL_FLASH_GET_FLAG_BANK1(__FLAG__) : \</span></div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno">  648</span><span class="preprocessor">                                                  __HAL_FLASH_GET_FLAG_BANK2(__FLAG__))</span></div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno">  649</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno">  650</span><span class="preprocessor">#define __HAL_FLASH_GET_FLAG(__FLAG__)           __HAL_FLASH_GET_FLAG_BANK1(__FLAG__)</span></div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno">  651</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno">  652</span> </div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno">  653</span></div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno">  690</span> </div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"><a class="line" href="group___f_l_a_s_h___exported___macros.html#gaee16e3dcaf19b900ffd24f2d572318d3">  691</a></span><span class="preprocessor">#define __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__)    WRITE_REG(FLASH-&gt;CCR1, (__FLAG__))</span></div>
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno">  692</span> </div>
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno">  693</span><span class="preprocessor">#define __HAL_FLASH_CLEAR_FLAG_BANK2(__FLAG__)    WRITE_REG(FLASH-&gt;CCR2, ((__FLAG__) &amp; 0x7FFFFFFFU))</span></div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno">  694</span> </div>
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno">  695</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno">  696</span><span class="preprocessor">#define __HAL_FLASH_CLEAR_FLAG(__FLAG__)         (IS_FLASH_FLAG_BANK1(__FLAG__) ?  __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__) : \</span></div>
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno">  697</span><span class="preprocessor">                                                  __HAL_FLASH_CLEAR_FLAG_BANK2(__FLAG__))</span></div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno">  698</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno">  699</span><span class="preprocessor">#define __HAL_FLASH_CLEAR_FLAG(__FLAG__)         __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__)</span></div>
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno">  700</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00701" name="l00701"></a><span class="lineno">  701</span></div>
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno">  705</span> </div>
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno">  706</span><span class="comment">/* Include FLASH HAL Extension module */</span></div>
<div class="line"><a id="l00707" name="l00707"></a><span class="lineno">  707</span><span class="preprocessor">#include &quot;<a class="code" href="stm32h7xx__hal__flash__ex_8h.html">stm32h7xx_hal_flash_ex.h</a>&quot;</span></div>
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno">  708</span> </div>
<div class="line"><a id="l00709" name="l00709"></a><span class="lineno">  709</span><span class="comment">/* Exported functions --------------------------------------------------------*/</span></div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno">  716</span><span class="comment">/* Program operation functions  ***********************************************/</span></div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno">  717</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASH_Program(uint32_t TypeProgram, uint32_t FlashAddress, uint32_t DataAddress);</div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno">  718</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASH_Program_IT(uint32_t TypeProgram, uint32_t FlashAddress, uint32_t DataAddress);</div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno">  719</span><span class="comment">/* FLASH IRQ handler method */</span></div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno">  720</span><span class="keywordtype">void</span> HAL_FLASH_IRQHandler(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno">  721</span><span class="comment">/* Callbacks in non blocking modes */</span></div>
<div class="line"><a id="l00722" name="l00722"></a><span class="lineno">  722</span><span class="keywordtype">void</span> HAL_FLASH_EndOfOperationCallback(uint32_t ReturnValue);</div>
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno">  723</span><span class="keywordtype">void</span> HAL_FLASH_OperationErrorCallback(uint32_t ReturnValue);</div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno">  727</span></div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno">  731</span><span class="comment">/* Peripheral Control functions  **********************************************/</span></div>
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno">  732</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASH_Unlock(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno">  733</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASH_Lock(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno">  734</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASH_OB_Unlock(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00735" name="l00735"></a><span class="lineno">  735</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASH_OB_Lock(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00736" name="l00736"></a><span class="lineno">  736</span><span class="comment">/* Option bytes control */</span></div>
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno">  737</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> HAL_FLASH_OB_Launch(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00741" name="l00741"></a><span class="lineno">  741</span></div>
<div class="line"><a id="l00745" name="l00745"></a><span class="lineno">  745</span><span class="comment">/* Peripheral State functions  ************************************************/</span></div>
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno">  746</span>uint32_t HAL_FLASH_GetError(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00750" name="l00750"></a><span class="lineno">  750</span></div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno">  754</span><span class="comment">/* Private types -------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno">  755</span><span class="comment">/* Private variables ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno">  759</span><span class="keyword">extern</span> <a class="code hl_struct" href="struct_f_l_a_s_h___process_type_def.html">FLASH_ProcessTypeDef</a> pFlash;</div>
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno">  763</span><span class="comment">/* Private constants ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l00767" name="l00767"></a><span class="lineno">  767</span></div>
<div class="line"><a id="l00771" name="l00771"></a><span class="lineno">  771</span> </div>
<div class="line"><a id="l00772" name="l00772"></a><span class="lineno">  772</span><span class="comment">/* Private macros ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00776" name="l00776"></a><span class="lineno">  776</span> </div>
<div class="line"><a id="l00777" name="l00777"></a><span class="lineno">  777</span><span class="preprocessor">#if defined (FLASH_OPTCR_PG_OTP)</span></div>
<div class="line"><a id="l00778" name="l00778"></a><span class="lineno">  778</span><span class="preprocessor">#define IS_FLASH_TYPEPROGRAM(VALUE)      (((VALUE) == FLASH_TYPEPROGRAM_FLASHWORD) || \</span></div>
<div class="line"><a id="l00779" name="l00779"></a><span class="lineno">  779</span><span class="preprocessor">                                          ((VALUE) == FLASH_TYPEPROGRAM_OTPWORD))</span></div>
<div class="line"><a id="l00780" name="l00780"></a><span class="lineno">  780</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00781" name="l00781"></a><span class="lineno">  781</span><span class="preprocessor">#define IS_FLASH_TYPEPROGRAM(VALUE)      ((VALUE) == FLASH_TYPEPROGRAM_FLASHWORD)</span></div>
<div class="line"><a id="l00782" name="l00782"></a><span class="lineno">  782</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTCR_PG_OTP */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00783" name="l00783"></a><span class="lineno">  783</span> </div>
<div class="line"><a id="l00784" name="l00784"></a><span class="lineno">  784</span><span class="preprocessor">#define IS_FLASH_IT_BANK1(IT)            (((IT) &amp; FLASH_IT_ALL_BANK1) == (IT))</span></div>
<div class="line"><a id="l00785" name="l00785"></a><span class="lineno">  785</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno">  786</span><span class="preprocessor">#define IS_FLASH_IT_BANK2(IT)            (((IT) &amp; FLASH_IT_ALL_BANK2) == (IT))</span></div>
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno">  787</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno">  788</span> </div>
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno">  789</span><span class="preprocessor">#define IS_FLASH_FLAG_BANK1(FLAG)        (((FLAG) &amp; FLASH_FLAG_ALL_BANK1) == (FLAG))</span></div>
<div class="line"><a id="l00790" name="l00790"></a><span class="lineno">  790</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00791" name="l00791"></a><span class="lineno">  791</span><span class="preprocessor">#define IS_FLASH_FLAG_BANK2(FLAG)        (((FLAG) &amp; FLASH_FLAG_ALL_BANK2) == (FLAG))</span></div>
<div class="line"><a id="l00792" name="l00792"></a><span class="lineno">  792</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00793" name="l00793"></a><span class="lineno">  793</span> </div>
<div class="line"><a id="l00794" name="l00794"></a><span class="lineno">  794</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00795" name="l00795"></a><span class="lineno">  795</span><span class="preprocessor">#define IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS) (((ADDRESS) &gt;= FLASH_BANK1_BASE) &amp;&amp; ((ADDRESS) &lt; FLASH_BANK2_BASE))</span></div>
<div class="line"><a id="l00796" name="l00796"></a><span class="lineno">  796</span><span class="preprocessor">#define IS_FLASH_PROGRAM_ADDRESS_BANK2(ADDRESS) (((ADDRESS) &gt;= FLASH_BANK2_BASE ) &amp;&amp; ((ADDRESS) &lt;= FLASH_END))</span></div>
<div class="line"><a id="l00797" name="l00797"></a><span class="lineno">  797</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00798" name="l00798"></a><span class="lineno">  798</span><span class="preprocessor">#define IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS) (((ADDRESS) &gt;= FLASH_BANK1_BASE) &amp;&amp; ((ADDRESS) &lt;= FLASH_END))</span></div>
<div class="line"><a id="l00799" name="l00799"></a><span class="lineno">  799</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00800" name="l00800"></a><span class="lineno">  800</span> </div>
<div class="line"><a id="l00801" name="l00801"></a><span class="lineno">  801</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00802" name="l00802"></a><span class="lineno">  802</span><span class="preprocessor">#if defined (FLASH_OPTCR_PG_OTP)</span></div>
<div class="line"><a id="l00803" name="l00803"></a><span class="lineno">  803</span><span class="preprocessor">#define IS_FLASH_PROGRAM_ADDRESS_OTP(ADDRESS)   (((ADDRESS) &gt;= 0x08FFF000U) &amp;&amp; ((ADDRESS) &lt;= 0x08FFF3FFU))</span></div>
<div class="line"><a id="l00804" name="l00804"></a><span class="lineno">  804</span><span class="preprocessor">#define IS_FLASH_PROGRAM_ADDRESS(ADDRESS)       (IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS) || \</span></div>
<div class="line"><a id="l00805" name="l00805"></a><span class="lineno">  805</span><span class="preprocessor">                                                 IS_FLASH_PROGRAM_ADDRESS_BANK2(ADDRESS) || \</span></div>
<div class="line"><a id="l00806" name="l00806"></a><span class="lineno">  806</span><span class="preprocessor">                                                 IS_FLASH_PROGRAM_ADDRESS_OTP(ADDRESS))</span></div>
<div class="line"><a id="l00807" name="l00807"></a><span class="lineno">  807</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00808" name="l00808"></a><span class="lineno">  808</span><span class="preprocessor">#define IS_FLASH_PROGRAM_ADDRESS(ADDRESS)       (IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS) || \</span></div>
<div class="line"><a id="l00809" name="l00809"></a><span class="lineno">  809</span><span class="preprocessor">                                                 IS_FLASH_PROGRAM_ADDRESS_BANK2(ADDRESS))</span></div>
<div class="line"><a id="l00810" name="l00810"></a><span class="lineno">  810</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTCR_PG_OTP */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00811" name="l00811"></a><span class="lineno">  811</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00812" name="l00812"></a><span class="lineno">  812</span><span class="preprocessor">#if defined (FLASH_OPTCR_PG_OTP)</span></div>
<div class="line"><a id="l00813" name="l00813"></a><span class="lineno">  813</span><span class="preprocessor">#define IS_FLASH_PROGRAM_ADDRESS_OTP(ADDRESS)   (((ADDRESS) &gt;= 0x08FFF000U) &amp;&amp; ((ADDRESS) &lt;= 0x08FFF3FFU))</span></div>
<div class="line"><a id="l00814" name="l00814"></a><span class="lineno">  814</span><span class="preprocessor">#define IS_FLASH_PROGRAM_ADDRESS(ADDRESS)       (IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS) || \</span></div>
<div class="line"><a id="l00815" name="l00815"></a><span class="lineno">  815</span><span class="preprocessor">                                                 IS_FLASH_PROGRAM_ADDRESS_OTP(ADDRESS))</span></div>
<div class="line"><a id="l00816" name="l00816"></a><span class="lineno">  816</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00817" name="l00817"></a><span class="lineno">  817</span><span class="preprocessor">#define IS_FLASH_PROGRAM_ADDRESS(ADDRESS)       (IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS))</span></div>
<div class="line"><a id="l00818" name="l00818"></a><span class="lineno">  818</span><span class="preprocessor">#endif </span><span class="comment">/* FLASH_OPTCR_PG_OTP */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00819" name="l00819"></a><span class="lineno">  819</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00820" name="l00820"></a><span class="lineno">  820</span> </div>
<div class="line"><a id="l00821" name="l00821"></a><span class="lineno">  821</span><span class="preprocessor">#define IS_BOOT_ADDRESS(ADDRESS)         ((ADDRESS) &lt;= (0x3FFF0000U))</span></div>
<div class="line"><a id="l00822" name="l00822"></a><span class="lineno">  822</span> </div>
<div class="line"><a id="l00823" name="l00823"></a><span class="lineno">  823</span><span class="preprocessor">#if defined (DUAL_BANK)</span></div>
<div class="line"><a id="l00824" name="l00824"></a><span class="lineno">  824</span><span class="preprocessor">#define IS_FLASH_BANK(BANK)              (((BANK) == FLASH_BANK_1)  || \</span></div>
<div class="line"><a id="l00825" name="l00825"></a><span class="lineno">  825</span><span class="preprocessor">                                          ((BANK) == FLASH_BANK_2)  || \</span></div>
<div class="line"><a id="l00826" name="l00826"></a><span class="lineno">  826</span><span class="preprocessor">                                          ((BANK) == FLASH_BANK_BOTH))</span></div>
<div class="line"><a id="l00827" name="l00827"></a><span class="lineno">  827</span><span class="preprocessor">#define IS_FLASH_BANK_EXCLUSIVE(BANK)    (((BANK) == FLASH_BANK_1)  || \</span></div>
<div class="line"><a id="l00828" name="l00828"></a><span class="lineno">  828</span><span class="preprocessor">                                          ((BANK) == FLASH_BANK_2))</span></div>
<div class="line"><a id="l00829" name="l00829"></a><span class="lineno">  829</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00830" name="l00830"></a><span class="lineno">  830</span><span class="preprocessor">#define IS_FLASH_BANK(BANK)              ((BANK) == FLASH_BANK_1)</span></div>
<div class="line"><a id="l00831" name="l00831"></a><span class="lineno">  831</span><span class="preprocessor">#define IS_FLASH_BANK_EXCLUSIVE(BANK)    ((BANK) == FLASH_BANK_1)</span></div>
<div class="line"><a id="l00832" name="l00832"></a><span class="lineno">  832</span><span class="preprocessor">#endif </span><span class="comment">/* DUAL_BANK */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno">  833</span></div>
<div class="line"><a id="l00837" name="l00837"></a><span class="lineno">  837</span><span class="comment">/* Private functions ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l00841" name="l00841"></a><span class="lineno">  841</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> FLASH_WaitForLastOperation(uint32_t Timeout, uint32_t Bank);</div>
<div class="line"><a id="l00842" name="l00842"></a><span class="lineno">  842</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> FLASH_OB_WaitForLastOperation(uint32_t Timeout);</div>
<div class="line"><a id="l00843" name="l00843"></a><span class="lineno">  843</span><a class="code hl_enumeration" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a> FLASH_CRC_WaitForLastOperation(uint32_t Timeout, uint32_t Bank);</div>
<div class="line"><a id="l00847" name="l00847"></a><span class="lineno">  847</span></div>
<div class="line"><a id="l00851" name="l00851"></a><span class="lineno">  851</span></div>
<div class="line"><a id="l00855" name="l00855"></a><span class="lineno">  855</span> </div>
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno">  856</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno">  857</span>}</div>
<div class="line"><a id="l00858" name="l00858"></a><span class="lineno">  858</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00859" name="l00859"></a><span class="lineno">  859</span> </div>
<div class="line"><a id="l00860" name="l00860"></a><span class="lineno">  860</span><span class="preprocessor">#endif </span><span class="comment">/* STM32H7xx_HAL_FLASH_H */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00861" name="l00861"></a><span class="lineno">  861</span> </div>
<div class="ttc" id="acore__armv81mml_8h_html_aec43007d9998a0a0e01faede4133d6be"><div class="ttname"><a href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a></div><div class="ttdeci">#define __IO</div><div class="ttdef"><b>Definition</b> core_armv81mml.h:277</div></div>
<div class="ttc" id="agroup___f_l_a_s_h___exported___types_html_ga2b0268387bc11bcab76be9ce7c43eaaf"><div class="ttname"><a href="group___f_l_a_s_h___exported___types.html#ga2b0268387bc11bcab76be9ce7c43eaaf">FLASH_ProcedureTypeDef</a></div><div class="ttdeci">FLASH_ProcedureTypeDef</div><div class="ttdoc">FLASH Procedure structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash.h:46</div></div>
<div class="ttc" id="astm32h7xx__hal__def_8h_html"><div class="ttname"><a href="stm32h7xx__hal__def_8h.html">stm32h7xx_hal_def.h</a></div><div class="ttdoc">This file contains HAL common defines, enumeration, macros and structures definitions.</div></div>
<div class="ttc" id="astm32h7xx__hal__def_8h_html_a63c0679d1cb8b8c684fbb0632743478f"><div class="ttname"><a href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a></div><div class="ttdeci">HAL_StatusTypeDef</div><div class="ttdoc">HAL Status structures definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_def.h:40</div></div>
<div class="ttc" id="astm32h7xx__hal__def_8h_html_ab367482e943333a1299294eadaad284b"><div class="ttname"><a href="stm32h7xx__hal__def_8h.html#ab367482e943333a1299294eadaad284b">HAL_LockTypeDef</a></div><div class="ttdeci">HAL_LockTypeDef</div><div class="ttdoc">HAL Lock structures definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_def.h:51</div></div>
<div class="ttc" id="astm32h7xx__hal__flash__ex_8h_html"><div class="ttname"><a href="stm32h7xx__hal__flash__ex_8h.html">stm32h7xx_hal_flash_ex.h</a></div><div class="ttdoc">Header file of FLASH HAL module.</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___process_type_def_html"><div class="ttname"><a href="struct_f_l_a_s_h___process_type_def.html">FLASH_ProcessTypeDef</a></div><div class="ttdoc">FLASH handle Structure definition.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash.h:62</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___process_type_def_html_a0c9115ac01c2fefd3c6ad112e7133b29"><div class="ttname"><a href="struct_f_l_a_s_h___process_type_def.html#a0c9115ac01c2fefd3c6ad112e7133b29">FLASH_ProcessTypeDef::Sector</a></div><div class="ttdeci">__IO uint32_t Sector</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash.h:69</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___process_type_def_html_a2b72d9ea23673332beeb57da48ededeb"><div class="ttname"><a href="struct_f_l_a_s_h___process_type_def.html#a2b72d9ea23673332beeb57da48ededeb">FLASH_ProcessTypeDef::NbSectorsToErase</a></div><div class="ttdeci">__IO uint32_t NbSectorsToErase</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash.h:65</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___process_type_def_html_a34e431db4f61163cea6d9238974d8ab0"><div class="ttname"><a href="struct_f_l_a_s_h___process_type_def.html#a34e431db4f61163cea6d9238974d8ab0">FLASH_ProcessTypeDef::VoltageForErase</a></div><div class="ttdeci">__IO uint32_t VoltageForErase</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash.h:67</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___process_type_def_html_a680a9b907eb67c762b16ef7051cd8942"><div class="ttname"><a href="struct_f_l_a_s_h___process_type_def.html#a680a9b907eb67c762b16ef7051cd8942">FLASH_ProcessTypeDef::Address</a></div><div class="ttdeci">__IO uint32_t Address</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash.h:71</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___process_type_def_html_a8a6cc581b8b180090429d0a3c0ca0172"><div class="ttname"><a href="struct_f_l_a_s_h___process_type_def.html#a8a6cc581b8b180090429d0a3c0ca0172">FLASH_ProcessTypeDef::ErrorCode</a></div><div class="ttdeci">__IO uint32_t ErrorCode</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash.h:75</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___process_type_def_html_ab5892cd1aacb0c0304b40f57023061e2"><div class="ttname"><a href="struct_f_l_a_s_h___process_type_def.html#ab5892cd1aacb0c0304b40f57023061e2">FLASH_ProcessTypeDef::Lock</a></div><div class="ttdeci">HAL_LockTypeDef Lock</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash.h:73</div></div>
<div class="ttc" id="astruct_f_l_a_s_h___process_type_def_html_adcc5fdaba7d53dffdab0510a4dd7d179"><div class="ttname"><a href="struct_f_l_a_s_h___process_type_def.html#adcc5fdaba7d53dffdab0510a4dd7d179">FLASH_ProcessTypeDef::ProcedureOnGoing</a></div><div class="ttdeci">__IO FLASH_ProcedureTypeDef ProcedureOnGoing</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_flash.h:63</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a href="dir_60925fc218da8ca7908795bf5f624060.html">Drivers</a></li><li class="navelem"><a href="dir_7baec2ddb99168f99d1052c1aec46b20.html">STM32H7xx_HAL_Driver</a></li><li class="navelem"><a href="dir_4f22a8fa6199c96df71a89cbd7613f35.html">Inc</a></li><li class="navelem"><a href="stm32h7xx__hal__flash_8h.html">stm32h7xx_hal_flash.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
  </ul>
</div>
</body>
</html>
